-- GENERATED SPELL FOR [Felslayer] --


function spell0_3774(pUnit, Event) --@Mana Burn,n/a--
pUnit:FullCastSpellOnTarget(2691,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3774', 279, 1)
end

function Sorts_3774(pUnit, Event)
local choix_sorts_3774 = math.random(0, 0)
if choix_sorts_3774 == 0 then
pUnit:RegisterEvent('spell0_3774', 1, 1)
end
end

function mob3774_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3774', math.random(1500, 3000), 1)
end

function mob3774_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3774_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3774_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3774, 1, 'mob3774_Action')
RegisterUnitEvent(3774, 2, 'mob3774_Leave')
RegisterUnitEvent(3774, 3, 'mob3774_Kill')
RegisterUnitEvent(3774, 4, 'mob3774_Die')
